using System;
using System.Collections;
using System.Collections.Generic;
using Scenario;
using UnityEngine;

namespace UI
{
    [DefaultExecutionOrder(1)]
    public class UIManager : MonoBehaviour
    {
        public static UIManager Instance => _instance;
        private static UIManager _instance;

        [SerializeField]
        private List<GameObject> _list;
        
        private void Awake()
        {
            _instance = this;
            for (var i = 0; i < _list.Count; i++)
            {
                var obj = _list[i];
                obj.SetActive(true);
                obj.SetActive(false);
            }
            
        }
        private void OnDestroy()
        {
            
        }
    }
}
